#!/bin/zsh

xpi="../extension-test-$1@dactyl.googlecode.com.xpi"
7z a $xpi \
	{components,content,modules,skin}/*.(js|xul|jsm|css|png|xml) \
	{defaults,locale}/*/*.(js|css|dtd|properties) \
	LICENSE install.rdf icon*.png chrome.manifest

echo "Name: $xpi" >/dev/stderr

echo file://$(cleanname "$(pwd)/$xpi")
